package com.yanyeori.webtest.entity.yanye;

import com.baomidou.mybatisplus.annotation.TableName;
import com.yanyeori.framework.core.constant.ChannelEnum;
import io.swagger.annotations.ApiModel;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * t_login_log
 */
@Getter
@Setter
@TableName("t_login_log")
@ApiModel(value = "LoginLog", description = "登录日志")
public class LoginLogEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 登录用户id
     */
    private String userId;

    /**
     * 登录用户名
     */
    private String username;

    /**
     * 登录ip
     */
    private String loginIp;

    /**
     * 登录渠道
     */
    private ChannelEnum channel;

    /**
     * 登录时间
     */
    private Long loginTime;
}